UUCD 2.4.6 - © 1994-97 Laurent Hagimont, France
NEW email: riff@pobox.com
web page: http://www.pobox.com/~riff (see the uucd section)

This software is distributed as FreeWare.

It can be distributed freely anywhere, on any support,
with no guarantee of any kind. For publication on commercial
supports like CDROMs, please do, just tell me, and feel free
to send me a copy ! ;-)

It is usually released on Internet in the info-mac archives.
You can also have a look to my web page.

What UUCD can do

• uuencode data files (resource fork and file infos are ignored)
• uudecode single or multipart files - no editing required
• uucd also works as a "droplet" for uudecoding
• the Drag Manager is supported for uudecoding
• uuencoded input sections can come from different files
• uuencoded input sections can be rearranged visually
• uudecoded output files Type and Creator automatically set (now IC-based)
• split the output file during uuencoding
• Binhex and MIME/Base64 support

uucd is highly System-7 dependant !

Help!

When you're reading news on the Net, you're likely to encounter
messages that contain lines like this:

begin 700 foobar.jpg
M_]C_[0$7061O8F5?4&AO=&]S:&]P,BXU.@!(````2```.$))30/I``````!X
M``,```!(`$@``````S("./_T__,#/@)&`T<%>P/@``(```!(`$@``````S("
M.``!````9`````$``0$!``(``2</``$``0`````````````````"`!D!D```
M````0`````````````$`````````````````````.$))30/M```````0`$@`
M```!``(`2`````$``CA"24T#\P``````!P``````````.$))30/T```````2
M`#4````!`"T`````````````.$))30/W```````<``#_________________
M____________`^@``/_N``Y!9&]B90!D@`````#_VP!#``D&!P<'!@D)"0D.
M"@H+#A$/#@X-$AH:%1`5&!D@(!X?'QXB(R@I)20E)2$G*RPL+2\T-#0S+C0T
M-#0T-#0T-#3_P``+"``@`!8!`1$`_\0`T@```04!`0$!`0$``````````P`!
M`@0%!@<("0H+$``!!`$#`@0"!08&"`<##6$!``(1`P0A$C$%05%A$R)Q@3(&
M%)&AL4(C)!528C,TP7*"0P<ED@A3T?!C<S46X:+QLH,F1)-49$7"HW0V%QC2
M5>)E\K.$P]-UX_-&)Y2DA;25Q-3D]*6UQ=7E]59F=H:6IK;&UN;V-T=79W>'
MEZ>WQ]?G]R@X2%AH>(B8J+C(V.CX"1DI.4E9:7F)F:FYR=GI^0H:*CI*6FIZ
MBIJJNLK:ZOK_W0`$``/_V@`(`0$``#\`[3^V)]:.I8&;1TGI8(OLJ]:Y[(W!
MA)`#9X)@ZQIHN4Q.N?6)TULNZB[*8)-;GDB)$$GC77_.5UN#]:>L9?0^I8WH
M%G6<(5#79%C7N'N'8$-.O:?N'__0W_K:V^C^V)9F55FWTL*O<W7Q=KH"?P**
M.LN=A,O9CO=:YY8YAG:PZ<N#3IX::H'2SF#J76LDU^[[/CNVZ_G7#3B>&^$^
M2__1]"^N]+L7*P^HTTBRRP_9;0[AS2'%NG](_P`W=<AT7J?4,O#&2RJNPV6>
MUE9:=Y)UWB1M#8CY??U&.;Z?JGE]4#&_:LA]<\[/39=`/P@DSX:K_]+L.KXG
MUNZ[]8<OI-N_&Z0]SO4N#6[35#"STW0#O)D$=M3Q"-TCZD9G3VMH#\=M?N#K
DJMPL#2?S6Q`,:#73S7:?8\7[#]C])OV;T_2]/MLB(^$:+__9
`
end

This is a file, named 'foobar.jpg', uuencoded so that it could be sent
as text message(s), in one part or several ones, in different messages.

To decode these files, you first have to save the messages, into one or
several files, it doesn't matter. All you have to do next is to drag and
drop your message files on the uucd application icon (or open them
from uucd's file menu, but it can be much longer if you have many files).

As the message files are loading, each segment of uucode shows up
as an icon with some textual info on the right. When some consecutive
segments seem to form together a file (the first segment shows up
as a 'begin' icon, the last one as a 'end' icon), the icons of this stream
of segments are changing to outlined ones, with a 'save' mini-icon
at the left of the 'begin' icon. Then you can save the file by clicking
on this 'save' mini-icon.

If the segments are in a wrong order, you can rearrange it by 'drag
and drop' on every misplaced segment. The textual infos at the right
of the segment icons are here to help you to identify the segments.
A first column shows the destination filename associated with a
'begin' segment. The second one gives the last 'Subject:' encountered
while processing the messages. If there is no subject line then the
source file name is used, eventually followed by a number.

The 'Sort' button can help you to rearrange automatically the segments
in the proper order. It is designed to work as well as possible in most
simple cases, no more.

The checkbox on the left of each segment can be used to mark
segments for deletion. Every saved segment is automatically
marked by uucd. To delete the marked segments, just hit the
backspace key, or click on the 'Clear marked' button,  or use
the new 'Mark' menu.

When Binhex files are encountered, they are loaded but saved only
in their .hqx text form. uucd then only works as a merging tool.
You can use StuffIt Expander or other Binhex decoders to decode
the .hqx file.

When MIME/Base64 files are encountered, they are fully decoded.
uucd also tries to guess the file name from the last subject line.
I don't think uucd is a good base64 decoder, anyway I always like
seeing it decode an unexpected b64 file.

Troubleshooting

• uucd doesn't recognize any line of an uuencoded file

Are you sure that it's uucode? Some email programs send
attachments in other formats. uucd may not handle them.

• uucd can't decode MIME/base64 lines

Oh, well, maybe uucd isn't so perfect. You can try MPack
(available by anonymous ftp to ftp.andrew.cmu.edu, directory
/pub/mpack).

• uucd reads my uucode files, but I don't get any uudecoded one

Uh... ok, uucd has read the uucode and converted it to binary
segments, but you didn't even try to save them, didn't you ?!
Try the 'Save All' button at the bottom of the window, or the
little disk icon at the topleft of each complete list of segments.

• You get a 'The application's free memory seems to get low' alert

uucd uses the application's memory to  store the uudecoded segments.
When trying to decode large files, there may be insufficient memory
allowed to uucd.

To change it, quit uucd, select the application's icon from the
Finder and ask 'Get Info' from the 'File' menu. There you can
change the amount of memory available to uucd.

Disclaimer

#include <std_disclaimer.h>
/* use it at your own risks, blah blah... */

I wrote uucd to suit my personal needs.

There are many other uudecoders for the Mac, uucd simply does
everything I've always wanted the others to do, not much more.
So if uucd doesn't suit your needs, you can email me or try
another decoder!

Version History

970503 uucd 2.4.6 the window can now be resized
961115 uucd 2.4.5 handles correctly a weird uucode from Microsoft
960420 uucd 2.4.4 implements the deletion marks, and the
filetyping mechanism is now based on 'Internet Config'
950804 uucd 2.4.3 improves the b64 detection and adds a pref
to choose newline chars for uuencoding
950701 uucd 2.4.2 has a new Creator, and fixes a few other problems
950627 uucd 2.4.1 mainly fixes a bug in the prefs mechanism
950614 uucd 2.4 adds support for Binhex and MIME/Base64
Preferences are now saved in a 'uucd prefs' file in the system prefs folder

950327 uucd 2.3.1 introduces a new 'Sort' button
950321 uucd 2.3 supports Drag Manager, gets some buttons,
a Memory Bar, and implements a much better 'Save All' mechanism

950301 uucd 2.2.1 fixes some minor problems
950201 uucd 2.2 has been partially rewritten:
Enhanced the UU lines recognition
Gives better information about each segment

941221 uucd 2.1.8 allows to specify the 'Subject:' tag
941220 uucd 2.1.7 makes it run without ColorQuickDraw (ie MacSE)
941208 uucd 2.1.6 fixes a DisposeResource bug
9412 uucd 2.1.5 posted to comp.binaries.mac

94?? uucd 2.0 posted on the French site CalvaCom
92?? uucd 1.0 posted on the French site CalvaCom

Thanks to so many people that I'm pretty sure to forget
a large half of them, be they beta-testers or simply kind
supporters, they will identify themselves easily !